package com.auth.token.base;

/**
 * @author: 王霄
 * @date: 2022/1/20 18:16
 */
public class TokenParams {
    /**
     * access token 有效期（秒）
     */
    private long accessTokenExpiration = 3600L;

    /**
     * refresh token 有效期（秒）
     */
    private long refreshTokenExpiration = 86400L;

    public long getAccessTokenExpiration() {
        return accessTokenExpiration;
    }

    public void setAccessTokenExpiration(long accessTokenExpiration) {
        this.accessTokenExpiration = accessTokenExpiration;
    }

    public long getRefreshTokenExpiration() {
        return refreshTokenExpiration;
    }

    public void setRefreshTokenExpiration(long refreshTokenExpiration) {
        this.refreshTokenExpiration = refreshTokenExpiration;
    }
}
